<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="keys" content="">
    <meta name="author" content="">
	<base href="http://${pageContext.request.serverName }:${pageContext.request.serverPort }${pageContext.request.contextPath}/"/>
  	
	<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
	<link rel="stylesheet" href="css/font-awesome.min.css">
	<link rel="stylesheet" href="css/login.css">
	
    <script src="jquery/jquery-2.1.1.min.js"></script>
    <script src="bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="layer/layer.js"></script>
    
    <script type="text/javascript">
    	$(function() {
			$("#btnBak").click(function() {
				layer.msg("后退按钮");
				//相当于点击浏览器的后退按钮
				window.history.back();
			})
		})
    	$(function() {
			$("#btnLogin").click(function() {
				layer.msg("重新返回登录");
				// 跳转页面（js里面跳转必须要这样写）
				window.location.href = "admin/to/login.ht";
			})
		})
    </script>

  </head>
  <body>
    <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <div><a class="navbar-brand" href="index.html" style="font-size:32px;">尚筹网-创意产品众筹平台</a></div>
        </div>
      </div>
    </nav>

    <div class="container" style="text-align: center;">

      <h2 class="form-signin-heading">
      <i class="glyphicon glyphicon-log-in"></i>众筹网系统消息
      </h2>
      
      <h3 class="form-signin-heading">
		<!-- 从请求域中取出Exception对象，再进一步访问message属性就能够显示错误信息 -->
		 ${requestScope.exception.message }
      </h3>
      <button id="btnBak" style="width:150px; margin: 30px auto 200px auto; " class="btn btn-lg btn-success btn-block">点我返回上一步</button>
      <button id="btnLogin" style="width:150px; margin: 30px auto 200px auto; " class="btn btn-lg btn-success btn-block">点我重新登录</button>
    </div>
  </body>
</html>
